/**
 * 
 */
package jnzb;

import jnzb.control.Controller;
import jnzb.control.remote.RemoteController;
import jnzb.ui.UserInterface;

/**
 * Start point for the app. Wires it all together and launches it.
 * 
 * @author Rid
 * 
 */
public class JNZB {

	public static final String VERSION = "0.2b1 - 3/12/2010";
	private UserInterface ui;
	private Controller controller;
	private RemoteController remoteController;

	/**
	 * Set everything up and launch the GUI
	 */
	public JNZB(String initialNZBFilename) {
		controller = new Controller();
		ui = new UserInterface(controller);
		controller.initialise(ui, initialNZBFilename);
		remoteController = new RemoteController(controller);
		remoteController.launch();
	}

}
